package com.kma.summer2012.server.proxy;

import com.kma.summer2012.model.User;
import com.kma.summer2012.shared.model.UIUser;

public class UserProxy {

    public static UIUser createFromUser(User user) {
        UIUser uiUser = new UIUser();
        uiUser.setId(user.getId());
        uiUser.setName(user.getName());
        uiUser.setPosition(user.getPosition());
        return uiUser;
    }
}
